import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import { actions } from './actions'
import { state, getters, mutations } from './mutations'
import test from './modules/text'
import shopCate from './modules/shopCate'
import shopSpecs from './modules/shopSpecs'
import banner from './modules/banner'
import goods from './modules/shopGoods'
import member from './modules/member'
import seckill from './modules/seckill'
export default new Vuex.Store({
  state,
  mutations,
  getters,
  actions,
  modules: {
    test,
    shopCate,
    shopSpecs,
    banner,
    goods,
    member,
    seckill
  }
})
